package cn.lml.lession.auth.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import cn.lml.lession.auth.service.impl.ModuleServiceImpl;
import cn.lml.lession.common.vo.ModuleVo;

@FeignClient(name = "user-service",fallback = ModuleServiceImpl.class)
public interface ModuleService {

	@GetMapping(value = "/module/queryModuleByRoleId")
	public List<ModuleVo>  queryModuleByRoleId(@RequestParam("rid") Integer rid);
}
